package com.mj.mes.utils;/**
 * @author cRyann
 * @create 2017-04-12 15:33
 **/

import java.util.List;
import java.util.Map;

/**
 *
 * @author cRyann
 * @create 2017-04-12 15:33  <T,ID extends Serializable> extends  JpaRepository<T,ID>
 **/
public interface BaseBeanDao{
    <T> Object subAttributes(T source, String... parameters);
    <T> Object changAttributes(T source, String... parameters);
    <T,E> Object addAttributes(T source, String attributeName, E value);
    <T,E> Object addAttributes(T source, Map<String, E> attributeMap);
    <T> List<String> getNameList(T bean);
}